-
Home
-
Advanced Dynamic Pricing for WooCommerce
-
4.5.2
-
Code
-
Classes
- FreeCartItem
Total Complexity |
50 |
Dependencies |
7 |
Dependents |
5 |
Total lines |
412 |
Lines of code |
186 |
Logical lines of code |
89 |
Comment lines |
111 |
Methods |
30 |
Properties |
16 |
Methods 30
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
setVariation() |
S |
57 |
6 |
16 |
fromArray() |
S |
56 |
5 |
17 |
__construct() |
S |
52 |
4 |
25 |
toArray() |
S |
55 |
4 |
20 |
removeAttr() |
S |
65 |
3 |
9 |
addAttr() |
S |
64 |
3 |
10 |
hash() |
S |
58 |
1 |
17 |
setQty() |
S |
74 |
2 |
5 |
setQtyAlreadyInWcCart() |
S |
81 |
1 |
3 |
isReplaceWithCoupon() |
S |
82 |
1 |
3 |
getAttrs() |
S |
82 |
1 |
3 |
hasAttr() |
S |
79 |
1 |
3 |
isSelected() |
S |
82 |
1 |
3 |
setSelected() |
S |
80 |
1 |
3 |
getCartItemData() |
S |
82 |
1 |
3 |
setCartItemData() |
S |
81 |
1 |
3 |
getVariation() |
S |
82 |
1 |
3 |
setReplaceCouponCode() |
S |
81 |
1 |
3 |
getAssociatedGiftHash() |
S |
82 |
1 |
3 |
getRuleId() |
S |
82 |
1 |
3 |
setReplaceWithCoupon() |
S |
80 |
1 |
3 |
getQty() |
S |
82 |
1 |
3 |
getPos() |
S |
82 |
1 |
3 |
setPos() |
S |
81 |
1 |
3 |
getInitialTax() |
S |
82 |
1 |
3 |
getInitialPrice() |
S |
82 |
1 |
3 |
installInitialPrices() |
S |
76 |
1 |
4 |
getProduct() |
S |
82 |
1 |
3 |
getQtyAlreadyInWcCart() |
S |
82 |
1 |
3 |
getReplaceCouponCode() |
S |
82 |
1 |
3 |